package com.cssw.fyzb.core.dao.system;

import com.cssw.fyzb.core.model.dodb.BusiSmsTpl;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author Feng Chen
 */
@Repository
public class SmsTplDaoImpl implements SmsTplDao {

    @Override
    public List<BusiSmsTpl> list() {
        return BusiSmsTpl.dao.findAll();
    }

    @Override
    public BusiSmsTpl getByBusiType(String busiType) {
        return BusiSmsTpl.dao.findById(busiType);
    }

}
